package com.zl.spring;

public class Book {
    private String bname;
    private String bauthor;

    public String getBname() {
        return bname;
    }

    public String getBauthor() {
        return bauthor;
    }

    public void setBname(String bname) {
        this.bname = bname;
    }

    public void setBauthor(String bauthor) {
        this.bauthor = bauthor;
    }

    public void getBook(){
        System.out.printf(bname + ":::" + bauthor);
    }
}
